package com.unitech.order.api.beans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单item信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ItemInfo implements Serializable {
    private Long id;
    private String name;
    private BigDecimal price;
    private Integer quantity;
    private BigDecimal total;
}
